package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/6/29 17:29
 * desc   :
 */
public class JoinPlayerData {
    /**
     * code : 200
     * data : {"player":[{"avatar":"http://qzapp.qlogo.cn/qzapp/1111483891/59ABC1D9699329411E12F0E81DB4F738/30","nickname":"waa","id":16,"viewId":1002037}]}
     * msg : 查询成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        private List<PlayerBean> player;

        public List<PlayerBean> getPlayer() {
            return player;
        }

        public void setPlayer(List<PlayerBean> player) {
            this.player = player;
        }

        public static class PlayerBean {
            /**
             * avatar : http://qzapp.qlogo.cn/qzapp/1111483891/59ABC1D9699329411E12F0E81DB4F738/30
             * nickname : waa
             * id : 16
             * viewId : 1002037
             */

            private String avatar;
            private String nickname;
            private int id;
            private int viewId;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getViewId() {
                return viewId;
            }

            public void setViewId(int viewId) {
                this.viewId = viewId;
            }
        }
    }
}
